package com.ruoyi.project.business.workovertime.mapper;

import java.util.List;
import com.ruoyi.project.business.workovertime.entity.WorkOvertime;

/**
 * 加班Mapper接口
 * 
 * @author ${author}
 * @date 2024-04-23
 */
public interface WorkOvertimeMapper {
    /**
     * 查询加班
     * 
     * @return 加班
     */
    public WorkOvertime selectWorkOvertimeById(Long id);

    /**
     * 查询加班列表
     * 
     * @return 加班集合
     */
    public List<WorkOvertime> selectWorkOvertimeList(WorkOvertime workOvertime);

    /**
     * 新增加班
     * 
     * @return 结果
     */
    public int insertWorkOvertime(WorkOvertime workOvertime);

    /**
     * 修改加班
     * 
     * @return 结果
     */
    public int updateWorkOvertime(WorkOvertime workOvertime);

    /**
     * 删除加班
     * 
     * @return 结果
     */
    public int deleteWorkOvertimeById(Long id);

    /**
     * 批量删除加班
     * 
     * @return 结果
     */
    public int deleteWorkOvertimeByIds(Long[] ids);
}
